<h3><?php echo __text('Mail Queue'); ?></h3>
<div class="">
	<table class="adminTable">
		<thead>
			<tr>
				<td>ID</td>
				<td><?php echo __text('Type'); ?></td>
				<td><?php echo __text('Updated'); ?></td>
				<td><?php echo __text('Operations'); ?></td>
			</tr>
		</thead>
		<tbody>
			<?php foreach($items as $item): ?>
			<tr>
				<td><?php echo $item -> getId(); ?></td>
				<td><?php echo $item -> getType(); ?></td>
				<td><?php echo __date($item -> updated_at); ?></td>
				<td>
					<a href="<?php echo Agilet::getUrl('admin/system/mail/template/edit', array('id' => $item -> getId())); ?>"><?php echo __text('Edit'); ?> </a> |
					<a href="<?php echo Agilet::getUrl('admin/system/mail/template/delete', array('id' => $item -> getId())); ?>"><?php echo __text('Delete'); ?> </a>|
					<a href="<?php echo Agilet::getUrl('admin/system/mail/template/test', array('id' => $item -> getId())); ?>"><?php echo __text('Test'); ?> </a>
				</td>
			</tr>
			<?php endforeach; ?>
		</tbody>
	</table>
</div>
